[INFO] cloning repository https://github.com/WerminskiGabriel/AGH-RustCourse
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WerminskiGabriel/AGH-RustCourse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWerminskiGabriel%2FAGH-RustCourse", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWerminskiGabriel%2FAGH-RustCourse'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 468cacbc113af2f4ad5336054571426bae63064d
[INFO] fixing WerminskiGabriel/AGH-RustCourse against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWerminskiGabriel%2FAGH-RustCourse" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/WerminskiGabriel/AGH-RustCourse
[INFO] finished tweaking git repo https://github.com/WerminskiGabriel/AGH-RustCourse
[INFO] tweaked toml for git repo https://github.com/WerminskiGabriel/AGH-RustCourse written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/WerminskiGabriel/AGH-RustCourse on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/WerminskiGabriel/AGH-RustCourse already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2f3cf17f51f1a1bea341c698a07dbf1b068fb693372ccee8fc461477bb885c1f
[INFO] running `Command { std: "docker" "start" "2f3cf17f51f1a1bea341c698a07dbf1b068fb693372ccee8fc461477bb885c1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2f3cf17f51f1a1bea341c698a07dbf1b068fb693372ccee8fc461477bb885c1f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f3cf17f51f1a1bea341c698a07dbf1b068fb693372ccee8fc461477bb885c1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2f3cf17f51f1a1bea341c698a07dbf1b068fb693372ccee8fc461477bb885c1f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_course v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/bin/lab4_chess.rs:40:40
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Chessman::King { position, color } => {
[INFO] [stdout]    |                                        ^^^^^ help: try ignoring the field: `color: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/bin/lab4_chess.rs:52:41
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Chessman::Queen { position, color } => {
[INFO] [stdout]    |                                         ^^^^^ help: try ignoring the field: `color: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/bin/lab4_chess.rs:65:40
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Chessman::Rook { position, color } => {
[INFO] [stdout]    |                                        ^^^^^ help: try ignoring the field: `color: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/bin/lab4_chess.rs:77:42
[INFO] [stdout]    |
[INFO] [stdout] 77 |             Chessman::Knight { position, color } => {
[INFO] [stdout]    |                                          ^^^^^ help: try ignoring the field: `color: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/bin/lab4_chess.rs:89:42
[INFO] [stdout]    |
[INFO] [stdout] 89 |             Chessman::Bishop { position, color } => {
[INFO] [stdout]    |                                          ^^^^^ help: try ignoring the field: `color: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Chessman` is never used
[INFO] [stdout]  --> src/bin/lab4_chess.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Chessman {
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Color` is never used
[INFO] [stdout]   --> src/bin/lab4_chess.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum Color {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Position` is never constructed
[INFO] [stdout]   --> src/bin/lab4_chess.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Position {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `make_move` is never used
[INFO] [stdout]   --> src/bin/lab4_chess.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Chessman {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 22 |     fn make_move(&mut self, new_position: Position) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/lab2_password-generator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::{Rng, rng};
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:41:16
[INFO] [stdout]    |
[INFO] [stdout] 41 |             if (board[i][0] == board[i][1] && board[i][1] == board[i][2]) {
[INFO] [stdout]    |                ^                                                        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -             if (board[i][0] == board[i][1] && board[i][1] == board[i][2]) {
[INFO] [stdout] 41 +             if board[i][0] == board[i][1] && board[i][1] == board[i][2]  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:49:23
[INFO] [stdout]    |
[INFO] [stdout] 49 |             } else if (board[0][i] == board[1][i] && board[1][i] == board[2][i]) {
[INFO] [stdout]    |                       ^                                                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -             } else if (board[0][i] == board[1][i] && board[1][i] == board[2][i]) {
[INFO] [stdout] 49 +             } else if board[0][i] == board[1][i] && board[1][i] == board[2][i]  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:41:16
[INFO] [stdout]    |
[INFO] [stdout] 41 |             if (board[i][0] == board[i][1] && board[i][1] == board[i][2]) {
[INFO] [stdout]    |                ^                                                        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -             if (board[i][0] == board[i][1] && board[i][1] == board[i][2]) {
[INFO] [stdout] 41 +             if board[i][0] == board[i][1] && board[i][1] == board[i][2]  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:49:23
[INFO] [stdout]    |
[INFO] [stdout] 49 |             } else if (board[0][i] == board[1][i] && board[1][i] == board[2][i]) {
[INFO] [stdout]    |                       ^                                                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -             } else if (board[0][i] == board[1][i] && board[1][i] == board[2][i]) {
[INFO] [stdout] 49 +             } else if board[0][i] == board[1][i] && board[1][i] == board[2][i]  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut A_won;
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut B_won;
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut A_won;
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut B_won;
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `mark_A` should have a snake case name
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:36:46
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn win_check(board: &mut [[char; 3]; 3], mark_A: char) -> (bool, bool) {
[INFO] [stdout]    |                                              ^^^^^^ help: convert the identifier to snake case: `mark_a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A_won` should have a snake case name
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut A_won = false;
[INFO] [stdout]    |                 ^^^^^ help: convert the identifier to snake case: `a_won`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B_won` should have a snake case name
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut B_won = false;
[INFO] [stdout]    |                 ^^^^^ help: convert the identifier to snake case: `b_won`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> src/bin/lab2_password-generator.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut rng = rand::rng();
[INFO] [stdout]    |                   ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `mark_A` should have a snake case name
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:36:46
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn win_check(board: &mut [[char; 3]; 3], mark_A: char) -> (bool, bool) {
[INFO] [stdout]    |                                              ^^^^^^ help: convert the identifier to snake case: `mark_a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A_won` should have a snake case name
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut A_won = false;
[INFO] [stdout]    |                 ^^^^^ help: convert the identifier to snake case: `a_won`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B_won` should have a snake case name
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut B_won = false;
[INFO] [stdout]    |                 ^^^^^ help: convert the identifier to snake case: `b_won`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         io::stdout().flush();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let _ = io::stdout().flush();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A_won` should have a snake case name
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut A_won;
[INFO] [stdout]    |                 ^^^^^ help: convert the identifier to snake case: `a_won`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B_won` should have a snake case name
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut B_won;
[INFO] [stdout]    |                 ^^^^^ help: convert the identifier to snake case: `b_won`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]   --> src/bin/lab2_password-generator.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     for idx in 0..5{
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password_idx`
[INFO] [stdout]   --> src/bin/lab2_password-generator.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         for password_idx in 0..password_leng{
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         io::stdout().flush();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let _ = io::stdout().flush();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A_won` should have a snake case name
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut A_won;
[INFO] [stdout]    |                 ^^^^^ help: convert the identifier to snake case: `a_won`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B_won` should have a snake case name
[INFO] [stdout]   --> src/bin/Lab1_TicTacToe.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut B_won;
[INFO] [stdout]    |                 ^^^^^ help: convert the identifier to snake case: `b_won`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_course` (bin "lab2_password-generator" test) due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/bin/lab4_chess.rs:40:40
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Chessman::King { position, color } => {
[INFO] [stdout]    |                                        ^^^^^ help: try ignoring the field: `color: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/bin/lab4_chess.rs:52:41
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Chessman::Queen { position, color } => {
[INFO] [stdout]    |                                         ^^^^^ help: try ignoring the field: `color: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/bin/lab4_chess.rs:65:40
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Chessman::Rook { position, color } => {
[INFO] [stdout]    |                                        ^^^^^ help: try ignoring the field: `color: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/bin/lab4_chess.rs:77:42
[INFO] [stdout]    |
[INFO] [stdout] 77 |             Chessman::Knight { position, color } => {
[INFO] [stdout]    |                                          ^^^^^ help: try ignoring the field: `color: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/bin/lab4_chess.rs:89:42
[INFO] [stdout]    |
[INFO] [stdout] 89 |             Chessman::Bishop { position, color } => {
[INFO] [stdout]    |                                          ^^^^^ help: try ignoring the field: `color: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Knight`, `Bishop`, `Rook`, `Queen`, and `King` are never constructed
[INFO] [stdout]  --> src/bin/lab4_chess.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Chessman {
[INFO] [stdout]   |      -------- variants in this enum
[INFO] [stdout] 2 |     Pawn { position: Position, color: Color },
[INFO] [stdout] 3 |     Knight { position: Position, color: Color },
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 4 |     Bishop { position: Position, color: Color },
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 5 |     Rook { position: Position, color: Color },
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     Queen { position: Position, color: Color },
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     King { position: Position, color: Color },
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Black` is never constructed
[INFO] [stdout]   --> src/bin/lab4_chess.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum Color {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] 11 |     White,
[INFO] [stdout] 12 |     Black,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/lab2_password-generator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::{Rng, rng};
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> src/bin/lab2_password-generator.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut rng = rand::rng();
[INFO] [stdout]    |                   ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]   --> src/bin/lab2_password-generator.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     for idx in 0..5{
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password_idx`
[INFO] [stdout]   --> src/bin/lab2_password-generator.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         for password_idx in 0..password_leng{
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_course` (bin "lab2_password-generator") due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2f3cf17f51f1a1bea341c698a07dbf1b068fb693372ccee8fc461477bb885c1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f3cf17f51f1a1bea341c698a07dbf1b068fb693372ccee8fc461477bb885c1f", kill_on_drop: false }`
[INFO] [stdout] 2f3cf17f51f1a1bea341c698a07dbf1b068fb693372ccee8fc461477bb885c1f
